package com.zx.erp.purchase.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.zx.erp.sys.bean.Users;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author 作者信息
 * @since 2021-11-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class CType implements Serializable {
    private Integer typeId; //id

    private String typeName;//商品名称

    private Integer typeStatus;//商品状态 1可用 2不可用

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTime;//创建时间

    private Integer createId;//创建人id

    private Users users;//创建人对象

    private Integer brandId;//品牌id

    private CBrand cBrand;//品牌对象

    private static final long serialVersionUID = 1L;
}
